package com.ps.dao.salary;


import org.springframework.context.ApplicationContext;


import com.ps.dao.BaseDaoSupport;

import com.ps.pojo.salary.SalarySetOfBooks;

/**
 * A data access object (DAO) providing persistence and search support for
 * SalarySetOfBooks entities. Transaction control of the save(), update() and
 * delete() operations can directly support Spring container-managed
 * transactions or they can be augmented to handle user-managed Spring
 * transactions. Each of these methods provides additional information for how
 * to configure it for the desired type of transaction control.
 * 
 * @see com.ps.pojo.salary.SalarySetOfBooks
 * @author MyEclipse Persistence Tools
 */

public class SalarySetOfBooksDAO extends BaseDaoSupport<SalarySetOfBooks> {

	// property constants
	public static final String SSOB_NUM = "ssobNum";
	public static final String NAME = "name";
	public static final String REAMRK = "reamrk";
	public static final String INPUTER_ID = "inputerId";


	public static SalarySetOfBooksDAO getFromApplicationContext(
			ApplicationContext ctx) {
		return (SalarySetOfBooksDAO) ctx.getBean("SalarySetOfBooksDAO");
	}
}